package com.kee.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kee.server.pojo.Admin;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author kee
 * @since 2021-03-22
 */
public interface AdminMapper extends BaseMapper<Admin> {


    int updateAdminEnabledById(Map<String, Object> map);

    int updateUserFaceById(@Param("admin") Admin admin);


    int updatePasswordById(Integer adminId, String pass);


    int updateAdminInfo(@Param("admin") Admin admin);

}
